
import com.llink.charts.BiggestGainersChartBuilder;
import com.llink.charts.BookChart;
import com.llink.charts.NearTargetChartBuilder;
import com.opensymphony.xwork2.Action;
import java.util.ArrayList;
import java.util.List;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Manu
 */
public class browseTops {
    private List<BookChart> bookCharts;    
    
    public String execute() {                
        BookChart bookChart=new NearTargetChartBuilder().build();
        setBookCharts(new ArrayList<BookChart>());
        
        getBookCharts().add(bookChart);
        
        bookChart=new BiggestGainersChartBuilder().build();
        
        getBookCharts().add(bookChart);
        
        return Action.SUCCESS;
    }

    /**
     * @return the bookCharts
     */
    public List<BookChart> getBookCharts() {
        return bookCharts;
    }

    /**
     * @param bookCharts the bookCharts to set
     */
    public void setBookCharts(List<BookChart> bookCharts) {
        this.bookCharts = bookCharts;
    }

    
}
